package com.hishop.service;

import com.hishop.common.ServerResponse;
import com.hishop.vo.CartVo;

/**
 * Created by hejie on 2017/7/20.
 */
public interface ICartService {
    ServerResponse<CartVo> add(Integer userId, Integer productId, Integer count);
    ServerResponse<CartVo> update(Integer userId, Integer productId, Integer count);
    ServerResponse<CartVo> deleteProduct(Integer userId, String productIds);
    ServerResponse<CartVo> list(Integer userId);
    ServerResponse<CartVo> selectOrUnSelect(Integer userId, Integer checked, Integer productId);
    ServerResponse<Integer> getCartProductCount(Integer userId);
}
